\hypertarget{soundTask_8c}{
\section{tasks/soundTask.c File Reference}
\label{soundTask_8c}\index{tasks/soundTask.c@{tasks/soundTask.c}}
}
{\ttfamily \#include \char`\"{}soundTask.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}FreeRTOS.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}task.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}nxbot.h\char`\"{}}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{soundTask_8c_a3d8f3ad9329c38a51e5637efc05e0ed1}{executeSoundTask} (\hyperlink{structglobals__t}{globals\_\-t} $\ast$pvParameter)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
xTaskHandle \hyperlink{soundTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}{soundHandle}
\begin{DoxyCompactList}\small\item\em The handle for the sound task. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{soundTask_8c_a3d8f3ad9329c38a51e5637efc05e0ed1}{
\index{soundTask.c@{soundTask.c}!executeSoundTask@{executeSoundTask}}
\index{executeSoundTask@{executeSoundTask}!soundTask.c@{soundTask.c}}
\subsubsection[{executeSoundTask}]{\setlength{\rightskip}{0pt plus 5cm}void executeSoundTask ({\bf globals\_\-t} $\ast$ {\em pvParameter})}}
\label{soundTask_8c_a3d8f3ad9329c38a51e5637efc05e0ed1}


\subsection{Variable Documentation}
\hypertarget{soundTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}{
\index{soundTask.c@{soundTask.c}!soundHandle@{soundHandle}}
\index{soundHandle@{soundHandle}!soundTask.c@{soundTask.c}}
\subsubsection[{soundHandle}]{\setlength{\rightskip}{0pt plus 5cm}xTaskHandle {\bf soundHandle}}}
\label{soundTask_8c_a6e4a3ffc616e13ac5f975a87d8b969ee}


The handle for the sound task. This task is always suspended and only activated by the communication task. It handles the timing for the musical notes. It is declared as a global variable, in order to use it in other modules of the firmware. 